<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>数组</title>
    <script>
        var arr=[1,2,3,4];
        //alert(arr.length);
        alert(arr[3]);
    </script>

</head>
<body>

</body>
</html>